package com.lin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lin.dto.UserDTO;
import com.lin.entity.User;
import com.lin.vo.DataVO;

/**
 * @Author Created by Lin Weihong
 * @Time on 2021/11/26 11:32
 */
public interface AdminService extends IService<User> {
    //管理员登录
    public int login(UserDTO userDTO);
    //管理员页面查询所有用户
    public DataVO<User> findData(Integer page, Integer limit);
    //管理员添加用户
    public int addUser(User user);
    //管理员更新用户
    public boolean updateUser(User user);

}
